<div class="tl mgh">
	<div class="pgs cl">
		<h1><!--{if $keyword}-->{lang search_result_keyword}<!--{else}-->{lang search_result}<!--{/if}--></h1>
		<!--{if !empty($multipage)}-->$multipage<!--{/if}-->
	</div>
	<table summary="{lang search}" cellspacing="0" cellpadding="0" width="100%">
		<thead>
			<tr>
				<td class="icn">&nbsp;</td>
				<th>{lang subject}</th>
				<td class="frm">{lang forum}</td>
				<td class="by">{lang author}</td>
				<td class="num">{lang replies}</td>
				<td class="by"><cite>{lang lastpost}</cite></td>
			</tr>
		</thead>

		<!--{loop $threadlist $thread}-->
			<tbody>
			<tr>
				<td>
					<a href="forum.php?mod=viewthread&tid=$thread[tid]&highlight=$index[keywords]" title="{lang target_blank}" target="_blank">
					<!--{if $thread[folder] == 'lock'}-->
						<img src="{IMGDIR}/folder_lock.gif" /></a>
					<!--{else}-->
						<img src="{IMGDIR}/folder_$thread[folder].gif" /></a>
					<!--{/if}-->
				</td>
				<th>
					<label>
					<!--{if $thread['digest'] > 0}-->
						<img src="{IMGDIR}/digest_$thread[digest].gif" alt="{lang thread_digest} $thread[digest]" />
					<!--{/if}-->
					&nbsp;
					</label>
					<a href="forum.php?mod=viewthread&tid=$thread[tid]&highlight=$index[keywords]" target="_blank" $thread[highlight]>$thread[subject]</a>
					<!--{if $thread['attachment'] == 2}-->
						<img src="static/image/forum/attachicon/image_s.gif" alt="{lang attach_img}" class="tch" />
					<!--{elseif $thread['attachment'] == 1}-->
						<img src="static/image/forum/attachicon/common.gif" alt="{lang attachment}" class="tch" />
					<!--{/if}-->
					<!--{if $thread[multipage]}--><span class="tps">$thread[multipage]</span><!--{/if}-->
				</th>
				<td><a href="forum.php?mod=forumdisplay&fid=$thread[fid]">$thread[forumname]</a></td>
				<td>
					<cite>
					<!--{if $thread['authorid'] && $thread['author']}-->
						<a href="home.php?mod=space&uid=$thread[authorid]">$thread[author]</a>
					<!--{else}-->
						<!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$thread[authorid]">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
					<!--{/if}-->
					</cite>
					<em>$thread[dateline]</em>
				</td>
				<td class="num"><strong>$thread[replies]</strong><em>$thread[views]</em></td>
				<td>
					<cite><!--{if $thread['lastposter']}--><a href="home.php?mod=space&username=$thread[lastposterenc]">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite>
					<em><a href="forum.php?mod=redirect&tid=$thread[tid]&amp;goto=lastpost$highlight#lastpost">$thread[lastpost]</a></em>
				</td>
			</tr>
			</tbody>
		<!--{/loop}-->

		<!--{if empty($threadlist)}-->
			<tbody><tr><th colspan="6">{lang search_nomatch}</th></tr></tbody>
		<!--{/if}-->

	</table>
<!--{if !empty($multipage)}--><div class="bm pgs cl">$multipage</div><!--{/if}-->
</div>
